package com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.LoginType;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

public class UserIdGetByTenantForm extends HSBCPSVO {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    @NotBlank
    @Length(max = 64)
    protected String account;
    
    @NotBlank
    @Length(max = 32)
    protected String tenant_key;
    
    @NotBlank
    @EnumValue(enumClass = LoginType.class)
    protected String login_type;
    
    public String getAccount() {
        return account;
    }
    
    public void setAccount(String account) {
        this.account = account;
    }
    
    public String getLogin_type() {
        return login_type;
    }
    
    public void setLogin_type(String login_type) {
        this.login_type = login_type;
    }
    
    public String getTenant_key() {
        return tenant_key;
    }
    
    public void setTenant_key(String tenant_key) {
        this.tenant_key = tenant_key;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("UserIdGetByTenantForm [account=").append(account).append(", tenant_key=")
                .append(tenant_key).append(", login_type=").append(login_type).append(", user_token=")
                .append(user_token).append(", tenant_id=").append(tenant_id).append("]");
        return builder.toString();
    }
    
}
